Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't ignore schemas of contained resources #2

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

mikix
Copy link
Contributor

@mikix mikix commented Apr 26, 2024

If a field appears in {"contained": [{my resource fields}]}, it will now also appear in the resulting schema.

If multiple resources are in the contained list, we'll use all the relevant resource schema to find the column schema for mentioned fields. This is slightly janky, but it's not clear how else to handle this without pulling resources out of the contained list. A project for the future.

If a field appears in {"contained": [{my resource fields}]}, it will
now also appear in the resulting schema.

If multiple resources are in the contained list, we'll use all the
relevant resource schema to find the column schema for mentioned
fields. This is slightly janky, but it's not clear how else to
handle this without pulling resources out of the contained list.
A project for the future.
@mikix mikix force-pushed the mikix/contained-schema branch from 7b874be to a027410 Compare April 26, 2024 14:41
@mikix mikix merged commit 51fd987 into main Apr 29, 2024
5 checks passed
@mikix mikix deleted the mikix/contained-schema branch April 29, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants